package com.dotflat.xj.domain;


import com.dotflat.rest.domain.AreableObjectBase;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 巡检对象项目分项对象
 * 
 * @author #
 * @date 2021-11-25
 */
@Entity
@Table(name = "xj_target_project_value")
@lombok.Data
@EqualsAndHashCode(callSuper = true)
public class TargetProjectValue extends AreableObjectBase
{


    /** 巡检对象ID */
    @Column(columnDefinition = "varchar(255)   COMMENT '巡检对象ID' ")
    private String   targetId;

    /** 父级ID */
    @Column(columnDefinition = "varchar(255) DEFAULT '0'   COMMENT '父级ID' ")
    private String  parentId;

    /** 分项名称 */
    @Column(columnDefinition = "varchar(255)   COMMENT '分项名称' ")
    private String sortName;

    /** 分项值 */
    @Column(columnDefinition = "varchar(255)   COMMENT '分项值' ")
    private String sortValue ;

    /** 分项最低值 */
    @Column(columnDefinition = "varchar(255) DEFAULT '0'   COMMENT '分项最低值' ")
    private String sortValueLow = "0";

    /** 0正常1停用 */
    @Column(columnDefinition = "varchar(255) DEFAULT '0'   COMMENT '0正常1停用' ")
    private String status =  "0";

    /** 备注 */
    @Column(columnDefinition = "varchar(255)   COMMENT '备注' ")
    private String remark;
}
